public class StringsDemo {
	public static void main(String[] args) {

		String aStringVariable = "asdgasdfghlsdg" + "asdgasdfghlsdg" + "asdgasdfghlsdg" + "asdgasdfghlsdg"
				+ "asdgasdfghlsdg" + "asdgasdfghlsdg" + "asdgasdfghlsdg" + "asdgasdfghlsdg" + "asdgasdfghlsdg"
				+ "asdgasdfghlsdg" + "asdgasdfghlsdg" + "asdgasdfghlsdg" + "asdgasdfghlsdg" + "asdgasdfghlsdg"
				+ "asdgasdfghlsdg" + "asdgasdfghlsdg" + "asdgasdfghlsdg" + "asdgasdfghlsdg" + "asdgasdfghlsdg";

		String listOfBeers = "Amsotel, Zagorka, Tuborg, Becks.";
		String[] beers = listOfBeers.split("[or]+");
		System.out.println("Available beers are:");
		for (String beer : beers) {
			System.out.printf(" - %s\n", beer);
		}
	}
}
